function  getType(obj){
    let type = typeof  obj;
    if(type === 'object'){
        return Object.prototype.toString.call(obj);
    }
    return type;

}

module.exports ={
    getType
};